package com.xiyu.service.service.material;

import com.xiyu.service.vo.material.purchase.PurchaseSingleGetDetailOutput;
import com.xiyu.service.vo.material.purchase.PurchaseSingleGetOutput;
import com.xiyu.service.vo.material.purchase.PurchaseUpdateStatusInput;
import com.xiyu.service.vo.material.purchase.PurchaseUpdateInput;
import com.xiyu.service.vo.material.purchase.PurchaseCreateInput;
import com.xiyu.service.vo.material.purchase.PurchasePageQueryOutput;
import com.xiyu.service.vo.material.purchase.PurchasePageQueryInput;
import java.util.*;

import com.xiyu.service.framework.web.web.core.pojo.PageResult;
import jakarta.servlet.http.HttpServletResponse;

/**
 * 采购单管理 Service 接口
 */
public interface PurchaseService {

    PageResult<PurchasePageQueryOutput> pageQuery(PurchasePageQueryInput inputVO);

    Long create(PurchaseCreateInput inputVO);

    Boolean update(PurchaseUpdateInput inputVO);

    Boolean updateStatus(PurchaseUpdateStatusInput inputVO);

    PurchaseSingleGetOutput singleGet(Long id);

    List<PurchaseSingleGetDetailOutput> singleGetDetail(Long id);

}
